/**
 * Created by feimao on 15-11-30.
 */
app.controller('chooseShopCtrl',function($scope,$location){
    $scope.shops=['KFC','7-11','成都小吃'];
    $scope.goToUrl=function(path){
        localStorage.removeItem("menu");
        $location.path(path);
    };
    $scope.save=function(value){
        localStorage.shop=value;
    }
});